const code = {
    level:{normal:1,member:2}, //账户等级 1 普通用户，2 会员用户
    type:{normal:1,admin:2,super:3}, //账户等级 1 普通用户，2 会员用户
    success:{code:'1',message:"成功"}, //成功
    param:{code:'-3',message:"参数错误"},
    db:{code:"-2",message:"服务器错误"},
    cache:{code:"-4",message:"缓存失败"},
    token:{code:"-5",message:"token失效"},
    forbid:{code:"-6",message:"禁止访问"},
    login:{code:"-7",message:"需要登录"},
    loginOut:{code:"-8",message:"退出登录失败"},
    user:{code:"-9",message:"没有权限访问"},
    del:{code:"-10",message:"删除失败"}
}

module.exports = code;